const GAP = [100, 100]

export default {
  width: Number,
  height: Number,
  // 水印的布局方式：平行布局 parallel; 交替布局 alternate
  layout: {
    type: String,
    default: 'alternate',
  },
  rotate: {
    type: Number,
    default: -22,
  },
  zIndex: {
    type: Number,
    default: 90,
  },
  image: {
    type: String,
    default: undefined,
  },
  content: {
    type: String,
    default: '',
  },
  fullscreen: {
    type: Boolean,
    default: false,
  },
  auto: {
    type: Boolean,
    default: true,
  },
  color: {
    type: String,
    default: 'rgba(0,0,0,.15)',
  },
  fontSize: {
    type: Number,
    default: 16,
  },
  fontStyle: {
    type: String,
    default: 'normal',
  },
  fontWeight: {
    type: String,
    default: 'normal',
  },
  fontFamily: {
    type: String,
    default: 'sans-serif',
  },
  gap: {
    type: Array,
    default: () => GAP,
  },
  offset: {
    type: Array,
    default: () => [GAP[0] / 2, GAP[1] / 2],
  },
}
